<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>盒子模型</title>
    <style>
        div {
            width: 300px;
            height: 200px;
            background-color: red;
            border-width: 1px;
            border-style: solid;
            border-color: pink;

            border: red 1px solid;
            border-top: yellow 2px solid;
            border-left: springgreen 5px solid;
            border-right: steelblue 10px solid;
        }

        .box {
            width: 200px;
            height: 200px;
            border: 1px solid black;
            margin: 20px auto;
            background-color: blanchedalmond;
        }

        .box:hover {
            /* 阴影的颜色 */
            box-shadow: 10px 10px 10px 10px rgba(0, 0, 0, .3);
        }

        /* 文字阴影的显示效果 */
        .te {


            text-shadow: 5px 5px 5px 5px rgba(0, 0, 0, .3);

        }
    </style>
</head>

<body>


    <div class="box"></div>
    <div class="te">
        <p> 文字阴影的显示效果1。</p>
    </div>

</body>

</html>